Community discussions

Search found 9 matches

by hiad
Mon Feb 11, 2019 5:13 am
Forum: Scripting
Topic: Delete user hostpot and create user hotspot profile
Replies: 0
Views: 354

Delete user hostpot and create user hotspot profile

Hello All, I have two questions using Mikrotik API: 1. I'm trying to delete Mikrotik users, can someone tell me why it's not working?: channel1 .write("/ip/hotspot/user/remove", { ".id": '"*37"' }) .then(data => { console.log("Done", JSON.stringify(data)); }) .catch(error => { console.log("Error res...
by hiad
Wed Feb 06, 2019 4:11 am
Forum: General
Topic: Error "no such item(4)" when remove active user hotspot.
Replies: 1
Views: 1227

Re: Error "no such item(4)" when remove active user hotspot.

I had . the same issue, do you have any news?
by hiad
Wed Jan 02, 2019 6:24 pm
Forum: Scripting
Topic: unknown parameter API Error
Replies: 1
Views: 352

unknown parameter API Error

Hello Everybody, Im adding and activating a user using the API with nodejs. But im getting an error, actually i dont know what parameters are required or no. Error result { type: 'trap', [0] tag: '1545860481331', [0] data: [ { field: 'message', value: 'unknown parameter' } ], [0] cmd: [0] { id: 1, [...
by hiad
Mon Dec 24, 2018 4:54 am
Forum: Beginner Basics
Topic: Create a Hotspot server profile
Replies: 1
Views: 323

Create a Hotspot server profile

Hello im new in the group. Im creating a personalized hotspot using the mikrotik API. It supposed to be working but i'm now need to test and create a Hotspot server profile with my personalized url. Is it possible? Should i update the hotspot files? https://wiki.mikrotik.com/wiki/HotSpot_external_lo...
by hiad
Tue Dec 11, 2018 8:24 am
Forum: General
Topic: Redirect to my own hotspot URL
Replies: 0
Views: 222

Redirect to my own hotspot URL

Hello Everybody,

I'm currently working in a personalized Hotspot using the API. I need the mikrotik redirects to my Hotspot URL. Please, Can someone explain to me what steps should I follow to set it up?
Thanks.
by hiad
Sat Nov 24, 2018 8:51 pm
Forum: General
Topic: Hotspot Javascript
Replies: 1
Views: 256

Hotspot Javascript

Hello

Im currently working on a Hotspot using javascript and Mikrotik API. Do you know how to send the mac address to the mikrotik? Or How should i work it?
by hiad
Wed Oct 31, 2018 10:04 am
Forum: Scripting
Topic: Unknown host
Replies: 0
Views: 390

Unknown host

Hello Everybody, Im trying to login a user created with my mikrotik api. Using the command above, im getting an error unknown host. Im working locally, is that error related with it? channel1.write("/ip/hotspot/active/login", { ip: "127.0.0.1", user: "x", password: "x", }) Error result { type: 'trap...
by hiad
Mon Oct 01, 2018 5:28 pm
Forum: Scripting
Topic: Add user with Node JS api
Replies: 0
Views: 401

Add user with Node JS api

Hello everybody,

Im looking for a hotspot website. Is it possible to create a new using on User Managment using Node API?
by hiad
Tue Jul 10, 2018 6:44 am
Forum: Scripting
Topic: New Mikrotik - Using API to log users instead of RADIUS server
Replies: 2
Views: 855

New Mikrotik - Using API to log users instead of RADIUS server

Hello everyone,

Nice to meet you, my name is Hector Alcazar, I am a fullstack developer and I have a requirement to work on the creation of a login portal. Sincerely I have not worked with RADIUS and I want to skip that step, through the API, is it possible to log users using my own database?