Forum Discussion
Anonymous
9 years agoNot applicable
Connect to restful api data source multiple times
Hi, I am a complete Newbie with regards to Resftul services etc, I am trying to connect to a Second Street Api using the below. It seems you need to use a Post first to get an access toke, ho...
- Anonymous9 years ago
FYI we got it connecting using
let apiUrl = "https://api.secondstreetapp.com/sessions", data ="{'sessions':[{'username':'**', 'password': '**'}]}", options = [ Headers =[#"Content-Type"="application/json", #"X-Api-Key"="*****"], Content = Text.ToBinary(data) ], Value = Web.Contents(apiUrl,options), in Value
Shamatix
7 years agoPost Partisan
Hey fellow users,
I need something similar.
I have a post request on https://xxxxxxxx.dk/oauth2/token
I need to set two parameters in the body (Email and password), how can I do this?
Best regards