1b.app
Link copied -

pass business process to API via json

Если у вас возникают вопросы или нужна помощь в настройке - вы всегда можете обратиться к нашим партнерам интеграторам и приобрести поддержку или консультации. Посмотреть список партнеров
You need to pass two parameters to the server.
and he wants a json request.
https://blackbox.net.ua/api?data={"id": "3412", "params": {"phonenumber": "0994259147", "api_key": "a70b5da3fbafd025768d28fcc8530917"}}
and this action produces such a log
http://prntscr.com/urtm4e
how can i generate the link the server wants?
Original question is available on version: ru

Answers:

Hello, try https://blackbox.net.ua/api/ . Those. after api you need to put /
02.10.2020, 13:53
Original comment available on version: ru

Good afternoon.
You can also try setting the "API Data Transfer Format" setting http://prntscr.com/urtsar
02.10.2020, 13:58
Original comment available on version: ru

Thanks,
it turns out like this
http://prntscr.com/urtvw6
you need to think about how to wrap two parameters in curly braces
"params": {"phonenumber": "0994259147", "api_key": "xxxxxxxx"}}
02.10.2020, 14:05
Original comment available on version: ru

additional headers - what is it?
won't help me with this?
02.10.2020, 14:09
Original comment available on version: ru


Bodyako Dmitry
Employee wrote:
Hello, try https://blackbox.net.ua/api/ . Those. after api you need to put /

https://prnt.sc/urtvw6 does not work for you. You get 301 response code, redirect. Page https://blackbox.net.ua/api does not exist, there is only https://blackbox.net.ua/api/
02.10.2020, 14:10
Original comment available on version: ru


Bodyako Dmitry Employee wrote:
Bodyako DmitryAn employee wrote: Hello, try https://blackbox.net.ua/api/ . Those. after api you need to put /https://prnt.sc/urtvw6 your api does not work. You get 301 response code, redirect. Page https://blackbox.net.ua/api does not exist, there is only https://blackbox.net.ua/api/

if you remove ?data= - it definitely gives 301
http://prntscr.com/uruf06
and so according to the instructions
http://prntscr.com/urub2g
in the subject is written more correctly request.
but how to get it using this action is not clear
02.10.2020, 14:30
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment