Skip to content

Latest commit

 

History

History
30 lines (27 loc) · 475 Bytes

notes.md

File metadata and controls

30 lines (27 loc) · 475 Bytes

Notes

The following is an example of what a Double object might look like:

/**
 * @path 	 register/some-example.json
 * @object 	 Double
 **/
{
	"url": "http://localhost:8001/some-example",
	"method": "get",
	"status": 200,
	"returnData": {
		"itDoHaveData": true
	}
}

// Updated Example Double
{
    request: {
        method: 'GET',
        url: 'http://localhost:8001/some-example'
    },
    response: {
        status: 200,
        redirectURL: ""
    }
}