You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a POST in debug of an azure function. the body of the request is empty so an error:"The input does not contain any JSON tokens" is raised.
To Reproduce
the code: POST http://localhost:7078/api/CreateNoProjectSite Content-Type: application/json { "SiteDisplayName":"NewTeamSite1", "SiteName":"NewTeamSite15", "SiteDescription":"NewTeamSite15", "SiteMembers":["[email protected]"], "SiteOwners":["[email protected]","[email protected]"], "Sitetype":1 }
runs fine in other Rest client. but fails to send the body from a .HTTP or .REST file in same VS
Expected behavior
Run like a REST client
Screenshots
Thank you
The text was updated successfully, but these errors were encountered:
Describe the bug
When running a POST in debug of an azure function. the body of the request is empty so an error:"The input does not contain any JSON tokens" is raised.
To Reproduce
the code:
POST http://localhost:7078/api/CreateNoProjectSite Content-Type: application/json { "SiteDisplayName":"NewTeamSite1", "SiteName":"NewTeamSite15", "SiteDescription":"NewTeamSite15", "SiteMembers":["[email protected]"], "SiteOwners":["[email protected]","[email protected]"], "Sitetype":1 }
runs fine in other Rest client. but fails to send the body from a .HTTP or .REST file in same VS
Expected behavior
Run like a REST client
Screenshots
Thank you
The text was updated successfully, but these errors were encountered: