Page MenuHomeFeedback Tracker

More Web Request Methods
Feedback, UrgentPublic

Description

As the title already suggests, it would be very useful to have UPDATE, PUT, PATCH and DELETE as Request methods for the RestAPI. Maybe even OPTIONS.
Especially the PATCH one would be great to have for Discord Webhooks to be able to update messages.

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Category
General
Steps To Reproduce

These would be the new functions in the RestContext class:

c
class RestContext {
	proto native int UPDATE( RestCallback cb, string request, string data );
	proto native string UPDATE_now( string request, string data );

	proto native int PUT( RestCallback cb, string request, string data );
	proto native string PUT_now( string request, string data );

	proto native int PATCH ( RestCallback cb, string request, string data );
	proto native string PATCH _now( string request, string data );

	proto native int DELETE( RestCallback cb, string request );
	proto native string DELETE_now( string request );
}

Event Timeline

LBmaster created this task.Wed, Apr 17, 2:56 PM
Geez changed the task status from New to Feedback.Thu, Apr 18, 10:57 AM

I would also like to send custom headers, like bearer token and other things, but at the moment this is impossible to do.

Yeah, sending custom Headers and not only content type headers would be a great addition too