How to – Post a JSON body in Swagger – Nishant Rana’s Weblog

Recently working with an Azure Functions , we had to define its REST Signature using Swagger to be able to use it within PowerApps.

The Azure Function expected the code query parameter basically the apiKey for the function and JSON Body with custom object named Lead having following properties as POST method.

This is how we’d define our Lead Object and pass it as one of the parameters in the body.



swagger: '2.0'
info:
title: mycrmfunctionapp.azurewebsites.net
version:...

Full Article

How to – Post a JSON body in Swagger – Nishant Rana’s Weblog

Blog Syndicated with Nishant Rana’s Permission

More About This Author

Nishant Rana

Author: Nishant Rana

Share This Post On