Add support for HTTP Method "OPTIONS"

We would like to implement the HTTP OPTIONS Method to provide the caller with additional information about our endpoint.

Do you think you can add this functionality to New-UDEndpoint?

1 Like

Yep! Shouldn’t be too hard to add. Can you open a GitHub issue for this?

I had assumed all standard methods were supported. To UD, it’s just a verb list.

Hi adam,
I’ve created an issue for this request.

Thanks!

@tiwood What do you expect by getting back from the OPTIONS request?

Only this:

Response

The response would contain an Allow header with the allowed methods:

Allow: OPTIONS, GET, POST