cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wiredupjax
Resolver I
Resolver I

Convert HTTPS via CURL to HTTPS POST in PA

Dear community,

 

I am finally trying my hand at HTTPS POST requests.  I am trying to connect to Zipwhip's API.

 

Error: {"success":false,"errorDesc":"Required String parameter 'password' is not present","path":"/user/login"}

 

Any ideas?

 

To establish a session id, it' asking for:

 

 

 

$ curl --location --request POST 'https://api.zipwhip.com/user/login' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'username={{username}}' \
  --data-urlencode 'password={{password}}'

 

 

 

However, I'm struggling to convert it in PA HTTPS POST:

HTTPS.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
wiredupjax
Resolver I
Resolver I

SELF-SOLVED:

 

Body needs to look like: username=xxxxxxx&password=xxxxx

View solution in original post

1 REPLY 1
wiredupjax
Resolver I
Resolver I

SELF-SOLVED:

 

Body needs to look like: username=xxxxxxx&password=xxxxx

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,778)