Testing Conditional Requests

Please don’t hesitate to get in touch if you have any questions. You can email us at help@assembly.education or give us a call at 020 8506 6100.

Generating changes to your test school data

  • Select a school you want a changeset for.

  • Go to Changeset Logs on the bottom of the left hand menu. 

  • Select the field, Student name, Student FSM Status, Staff Member email address, that you would like a changeset for. 
  • To receive a changeset through, select Queue Change for either Student name, Student FSM Status, Staff Member email.

  • You should then see the newly generated changeset appear automatically with a time stamp.
  • Sending a conditional request

    • Now that you've changed some data, you can send a conditional request to the API to only retrieve the data that has changed. 
    • To do so, you will need to submit an If-Modified-Since HTTP header in your request. 
    • The date you submit must be in the following format: Thu, 09 Mar 2017 18:05:23 GMT

    • The API will only return data that has changed since the date you submit. If no data has changed, you will receive a 304 Not Modified response.