Skip to content

[UNMAINTAINED] A simple Rest Helper for Processwire 2.x

License

Notifications You must be signed in to change notification settings

joyofpw/pw-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Processwire Rest Helper

A simple Rest Helper for Processwire 2.x or 3.x

comment https://github.com/NinjasCL/pw-rest/blob/master/rest/core/errors.php#L38 if you want to use PW 2.x

Usage

Use this code inside your templates directory.

An example login.php and 404.php template files were made for demostration.

For a more complete example see https://github.com/NinjasCL/voxgram

Note

For getting params for other methods than GET OR POST, you should send the request as application/json object.

Example

{
    "param1": "param1 value",
    "param2": "param2 value"
}

Made with by Ninjas.

About

[UNMAINTAINED] A simple Rest Helper for Processwire 2.x

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages