This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": { | |
"@vocab": "http://schema.org", | |
"hydra": "http://www.w3.org/ns/hydra/core#" | |
}, | |
"@id": "http://www.markus-lanthaler.com/hydra/event-api/events/", | |
"@type": "hydra:Collection", | |
"hydra:member": [ | |
{ | |
"@id": "http://www.markus-lanthaler.com/hydra/event-api/events/1", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": { | |
"@vocab" : "http://schema.org", | |
"hydra" : "http://www.w3.org/ns/hydra/core#" | |
}, | |
"@id": "http://www.markus-lanthaler.com/hydra/event-api/", | |
"@type": "hydra:EntryPoint", | |
"event": { | |
"@id": "http://www.markus-lanthaler.com/hydra/event-api/events/", | |
"@type": "hydra:Link" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.robotiumrc; | |
import static org.hamcrest.Matchers.is; | |
import static org.junit.Assert.assertThat; | |
import static org.junit.Assert.assertTrue; | |
import org.jbehave.core.annotations.AfterStory; | |
import org.jbehave.core.annotations.BeforeStory; | |
import org.jbehave.core.annotations.Given; | |
import org.jbehave.core.annotations.Then; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// HAL "form" for single-item-resource. Clients must query OPTIONS for /account | |
// to ensure they can PUT, POST, DELETE, GET. The profile attribute contains a json-schema | |
// which can also be requested in other media types from /rels/account. | |
{ | |
"userName": "Fred", | |
"realName": "Fred Flintstone", | |
"password": "yabbadabba", | |
"_links": { | |
"self": { |
NewerOlder