Closed JayWood closed 4 years ago
Like a ReST API for users to use for custom solutions? Or do you want to switch over the actual app to a better ReST setup?
The WordPress side of things will be moving to use the WordPress REST API instead of custom query strings. This also means the JAVA side of things can use most readily available REST client libraries instead of the current custom Apache HTTP implementation
In short, this will make endpoints available for both getting server commands, and processing orders, while still using server keys.
And no, keys won't be exposed in endpoints.
Current Endpoint
New endpoint
http://example.com/wp-json/woominecraft/v1/server/myrandomlychosenkey
Additionally this should alleviate most hosting issues with query strings, since WordPress has officially started supporting the WordPress REST API for some time now. Not to say there won't be that one host who just.... doesn't upgrade lol.
Changed the title to make it less confusing.
Ah okay.
Could you please elaborate on this idea? What exactly do you mean.