Can I claim asylum from abroad?

Spain’s Asylum Act provides for the possibility of Spanish ambassadors abroad being able to arrange the transfer of an applicant for international protection who has turned to diplomatic representation and claimed danger to life and limb, providing they are not a national of the country they are currently in.