web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

How to expose D365 FO Custom service with PUT http verb

(0) ShareShare
ReportReport
Posted on by 210

I have a requirement to expose D365 FO custom service as PUT service and extract some header data from the http headers. I get a 405 'Method not allowed' exception when I invoke the service as PUT. Works fine for GET and POST verbs. Is this a limitation in FO? Also, how can the HttpRequest headers be read in the custom service?

I have the same question (0)
  • WillWU Profile Picture
    22,361 on at

    Hi Ankur mota,

    Could you please provide your request URL?

  • Ankur mota Profile Picture
    210 on at

    Hi Will, Its a custom service with the standard custom service url of BaseUrl/api/services/[ServiceGroup]/Service/Method. This method accepts a parameter. The service works fine as a POST, but I get a method not allowed exception for  PUT request.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Siv Sagar Profile Picture

Siv Sagar 266 Super User 2025 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 213 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 140 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans