Recent searches


No recent searches

Vito Perrotta's Avatar

Vito Perrotta

Joined Jul 14, 2022

·

Last activity Jul 14, 2022

Following

0

Followers

0

Total activity

2

Votes

0

Subscription

1

ACTIVITY OVERVIEW

Latest activity by Vito Perrotta

Vito Perrotta commented,

CommentAPI and SDK

Perfect. Fixed by adding double quotes around my URL. Original form was :

curl -X POST localhost:8080/employees -H 'Content-type:application/json' -d '{"name": "Samwise Gamgee", "role": "gardener"}'

Fixed form : 

curl -X POST localhost:8080/employees -H "Content-type:application/json" -d "{\"name\": \"Samwise Gamgee\", \"role\": \"gardener\"}"

Many thanks. 

Vito

 

View comment · Posted Jul 14, 2022 · Vito Perrotta

0

Followers

1

Vote

0

Comments